<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<form method="post" action="submitBatchDetailsForm.action">
	<table>
	<tr><td>Edit batch </td></tr>
	
<%-- 	<s:iterator value="batch_list"> --%>

		<tr>
			<td>batch Id</td>
			<td><input type="hidden" name="batch_id" value='<s:property value="batch_id"/>'/><s:property value="batch_id"/></td>
		</tr>
		<tr>
			<td>batch Name</td>
			<td><input type="text" name="batch_name" value='<s:property value="batch_name"/>'/><s:property value="batch_name"/></td>
		</tr>
		<tr>
		<tr>
			<td>Start Date</td>
			<td><input type="text" name="start_date" value='<s:property value="start_date"/>'/></td>
		</tr>
		<tr>
			<td>End Date</td>
			<td><input type="text" name="end_date" value='<s:property value="end_date"/>'/></td>
		</tr>
	<tr>
			<td>Start year</td>
			<td><input type="text" name="start_year" value='<s:property value="start_year"/>' /></td>
		</tr>
		<tr>
		<td>Capacity</td>
			<td><input type="text" name="student_count" value='<s:property value="student_count"/>'/></td>
		</tr>
		<tr><td>Description</td>
		<td><input type="text" name="description" value='<s:property value="description"/>'/></td></tr>

<%-- 	</s:iterator> --%>
	<tr><td><input type="submit" value="Submit"/></td></tr>
	</table>
	</form>
</body>
</html>